-
Home
-
WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting
-
1.16.5 (latest)
-
Code
-
Classes
- ExpensesController
| Total Complexity |
49 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
611 |
| Lines of code |
431 |
| Logical lines of code |
167 |
| Comment lines |
86 |
| Methods |
11 |
| Properties |
2 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| prepare_item_for_database() |
B |
40 |
22 |
67 |
| get_item_schema() |
S |
35 |
1 |
119 |
| add_log() |
S |
52 |
6 |
24 |
| get_expenses() |
S |
49 |
5 |
31 |
| register_routes() |
S |
42 |
1 |
76 |
| prepare_item_for_response() |
S |
50 |
3 |
28 |
| update_expense() |
S |
50 |
3 |
27 |
| create_expense() |
S |
54 |
2 |
21 |
| get_expense() |
S |
57 |
2 |
15 |
| get_check() |
S |
57 |
2 |
15 |
| void_expense() |
S |
65 |
2 |
8 |